package com.yd.domain.business;

/**
 * @create 2018-03-07 8:46
 **/
public class UserMsg {
    private String token;
    private String publishUser;
    private String receiveUser;
    private Boolean ifMsg=false;

    public UserMsg() {
    }

    public UserMsg(String token, String publishUser, String receiveUser, Boolean ifMsg) {
        this.token = token;
        this.publishUser = publishUser;
        this.receiveUser = receiveUser;
        this.ifMsg = ifMsg;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getPublishUser() {
        return publishUser;
    }

    public void setPublishUser(String publishUser) {
        this.publishUser = publishUser;
    }

    public String getReceiveUser() {
        return receiveUser;
    }

    public void setReceiveUser(String receiveUser) {
        this.receiveUser = receiveUser;
    }

    public Boolean getIfMsg() {
        return ifMsg;
    }

    public void setIfMsg(Boolean ifMsg) {
        this.ifMsg = ifMsg;
    }

    @Override
    public String toString() {
        return "UserMsg{" +
                "token='" + token + '\'' +
                ", publishUser='" + publishUser + '\'' +
                ", receiveUser='" + receiveUser + '\'' +
                ", ifMsg='" + ifMsg + '\'' +
                '}';
    }
}
